<?php if (!defined('THINK_PATH')) exit();?><style>
    table tr{display: inline-block;margin-bottom: 10px;}
</style>
<div class="pageContent">
	<form method="post" action="<?php echo U('client/Client/add');?>" class="pageForm required-validate" onsubmit="return validateCallback(this, navTabAjaxDone);">
		<div class="pageFormContent" layoutH="56">
		    <p>
			  <label>客户名称：</label>
			  <input name="name"  type="text" size="30" value="<?php echo ($data["name"]); ?>" />
			  <span class="info"检查重名</span>
		    </p>
		    <p>
			  <label>昵称：</label>
			  <input name="nickname"  type="text" size="30" value="<?php echo ($data["nickname"]); ?>" />
		    </p>
		    <p>
			  <label>性别：</label>
			  <input type="radio" name="is_idcard" value="1" <?php if($data["sex"] == 1): ?>checked="checked"<?php endif; ?>>男<input type="radio" <?php if($data["sex"] == 0): ?>checked="checked"<?php endif; ?> name="is_idcard" value="2">女
		    </p>
		    <p>
			  <label>职务：</label>
			  <select class="add_select" name="capital">
				<option value="">请选择</option>
				<option value="10">程序员</option>
				<option selected="" value="50">工人</option>
				<option value="100">军人</option>
			  </select>
		    </p>
		    <p>
			  <label>身份证号：</label>
			  <input name="idcard"  type="text" size="30" value="<?php echo ($data["idcard"]); ?>" />
		    </p>
		    <p>
			  <label>出生日期：</label>
			  <input type="text" name="birthday" value="<?php if($data.birthday): echo (date('Y-m-d',$data["birthday"])); endif; ?>" class="date" readonly="true"/>
			  <a class="inputDateButton" href="javascript:;">选择</a>
		    </p>
		    <p>
			  <label>宗教信仰：</label>
			  <input name="religion"  type="text" size="30" value="<?php echo ($data["religion"]); ?>" />
		    </p>
			<p>
				<label>民族：</label>
				<input name="nation" type="text" size="30" value="<?php echo ($data["nation"]); ?>" />
			</p>
		    <p>
			  <label>毕业学院：</label>
			  <input name="school" type="text" size="30" value="<?php echo ($data["school"]); ?>" />
		    </p>
		    <p>
			  <label>专业：</label>
			  <input name="major" type="text" size="30" value="<?php echo ($data["major"]); ?>" />
		    </p>
		    <p>
			  <label>学历：</label>
			  <input name="education" type="text" size="30" value="<?php echo ($data["education"]); ?>" />
		    </p>
		    <p>
			  <label>籍贯：</label>
			  <input name="native" type="text" size="30" value="<?php echo ($data["native"]); ?>" />
		    </p>
		    <p>
			  <label>公司名称：</label>
			  <input name="company_name" type="text" size="30" value="<?php echo ($data["company_name"]); ?>" />
		    </p>
		    <p>
			  <label>公司地址：</label>
			  <input name="company_address" type="text" size="30" value="<?php echo ($data["company_address"]); ?>" />
		    </p>
		    <p>
			  <label>公司规模：</label>
			  <input name="company_scale" type="text" size="30" value="<?php echo ($data["company_scale"]); ?>" />
		    </p>
		    <p>
			  <label>工作性质：</label>
			  <input name="company_nature" type="text" size="30" value="<?php echo ($data["company_nature"]); ?>" />
		    </p>
		    <p>
			  <label>所属行业：</label>
			  <input name="industry" type="text" size="30" value="<?php echo ($data["industry"]); ?>" />
		    </p>
		    <p>
			  <label>直属人员：</label>
			  <input name="men_number" type="text" size="30" value="<?php echo ($data["men_number"]); ?>" />
		    </p>
		    <p>
			  <label>客户阶段：</label>
			  <input name="client_stage" type="text" size="30" value="<?php echo ($data["client_stage"]); ?>" />
		    </p>
		    <p>
			  <label>助教/教练资格：</label>
			  <select class="add_select" name="capital">
				<option value="">等级</option>
				<option value="10">一级</option>
				<option selected="" value="50">二级</option>
				<option value="100">三级</option>
			  </select>
		    </p>
		    <p>
			  <label>客户来源：</label>
			  <input name="client_source" type="text" size="30" value="<?php echo ($data["client_source"]); ?>" />
		    </p>
		    <p>
			  <label>3C确认：</label>
			  <input name="three_c" type="text" size="30" value="<?php echo ($data["three_c"]); ?>" />
		    </p>
		    <p>
			  <label>健康状况：</label>
			  <input name="health" type="text" size="30" value="<?php echo ($data["health"]); ?>" />
		    </p>
		    <p>
			  <label>身份证复印件：</label>
			  <label><input type="radio" name="is_idcard" value="0" <?php if($data['is_idcard'] == 0): ?>checked="checked"<?php endif; ?>>提交<input type="radio" name="is_idcard" value="1" <?php if($data['is_idcard'] == 1): ?>checked="checked"<?php endif; ?>>未提交</label>
		    </p>
		    <p>
			  <label>外系统上课：</label>
			  <input name="is_outer" type="text" size="30" value="<?php echo ($data["is_outer"]); ?>" />
		    </p>
		    <p>
			  <label>意向课程：</label>
			  <input name="intention_course" type="text" size="30" value="<?php echo ($data["intention_course"]); ?>" />
		    </p>
		    <dl class="nowrap">
			  <dt>成功宣言：</dt>
			  <dd><textarea rows="2" cols="80" name="succeed" class="textInput"><?php echo ($data["succeed"]); ?></textarea></dd>
		    </dl>
		    <dl class="nowrap">
			  <dt class="add_hiegth">联系方式：</dt>
			  <dd>
				<table cellpadding="0" cellspacing="0">
				    <tr>
					  <td>
						<label style="width: 80px;">办公电话:</label><input name="lt[bgphone]" type="text" size="20" value="<?php echo ($data["tel"]["bgphone"]); ?>" />
						<label style="width: 80px;">移动电话:</label><input name="lt['ydphone']" type="text" size="20" value="<?php echo ($data["tel"]["ydphone"]); ?>" />
						<label style="width: 80px;">宅电:</label><input name="lt['zphone']" type="text" size="20" value="<?php echo ($data["tel"]["zphone"]); ?>" />
					  </td>
				    </tr>
				    <tr>
					  <td>
						<label style="width: 80px;">传真:</label><input name="lt[cz]" type="text" size="20" value="<?php echo ($data["tel"]["cz"]); ?>" />
						<label style="width: 80px;">地子邮件:</label><input name="lt[email]" type="text" size="20" value="<?php echo ($data["tel"]["email"]); ?>" />
						<label style="width: 80px;">QQ/MSN:</label><input name="lt[qq]" type="text" size="20" value="<?php echo ($data["tel"]["qq"]); ?>" />
					  </td>
				    </tr>
				    <tr>
					  <td>
						<label style="width: 80px;">邮编:</label><input name="lt[postcode]" type="text" size="20" value="<?php echo ($data["tel"]["postcode"]); ?>" />
						<label style="width: 80px;">通讯地址:</label><input name="lt[address]" type="text" size="20" value="<?php echo ($data["tel"]["address"]); ?>" />
					  </td>
				    </tr>
				</table>


			  </dd>
		    </dl>
		    <dl class="nowrap">
			  <dt class="add_hiegth">EOM信息：</dt>
			  <dd>
			    <table>
				  <tr>
					<td>
					    <label style="width: 80px;">EMO1姓名:</label><input name="emo[name]" type="text" size="20" value="<?php echo ($data["emo_info"]["name"]); ?>" />
					    <label style="width: 80px;">省市:</label><input name="emo[city]" type="text" size="20" value="<?php echo ($data["emo_info"]["city"]); ?>" />
					    <label style="width: 80px;">公司:</label><input name="emo[company]" type="text" size="20" value="<?php echo ($data["emo_info"]["company"]); ?>" />
					</td>
				  </tr>
				  <tr>
					<td>
					    <label style="width: 80px;">电话:</label><input name="emo[phone]" type="text" size="20" value="<?php echo ($data["emo_info"]["phone"]); ?>" />
					    <label style="width: 80px;">阶段:</label><input name="emo[jd]" type="text" size="20" value="<?php echo ($data["emo_info"]["jd"]); ?>" />
					</td>
				  </tr>
			    </table>
			    <table>
				  <tr>
					<td>
					    <label style="width: 80px;">EMO2姓名:</label><input name="emo[name2]" type="text" size="20" value="<?php echo ($data["emo_info"]["name2"]); ?>" />
					    <label style="width: 80px;">省市:</label><input name="emo[city2]" type="text" size="20" value="<?php echo ($data["emo_info"]["city2"]); ?>" />
					    <label style="width: 80px;">公司:</label><input name="emo[company2]" type="text" size="20" value="<?php echo ($data["emo_info"]["company2"]); ?>" />
					</td>
				  </tr>
				  <tr>
					<td>
					    <label style="width: 80px;">电话:</label><input name="emo[phone2]" type="text" size="20" value="<?php echo ($data["emo"]["phone2"]); ?>" />
					    <label style="width: 80px;">阶段:</label><input name="emo[jd2]" type="text" size="20" value="<?php echo ($data["emo"]["jd2"]); ?>" />
					</td>
				  </tr>
			    </table>
				    <!--<label style="width: 80px;">EMO2姓名:</label><input name="emo[]" type="text" size="20" value="" />
				    <label style="width: 80px;">省市:</label><input name="emo[]" type="text" size="20" value="" />
				    <label style="width: 80px;">公司:</label><input name="emo[]" type="text" size="20" value="" />
				    <label style="width: 80px;">电话:</label><input name="emo[]" type="text" size="20" value="" />
				    <label style="width: 80px;">阶段:</label><input name="emo[]" type="text" size="20" value="" />-->
			  </dd>
		    </dl>
		    <dl class="nowrap">
			  <dt class="add_hiegth">配偶情况：</dt>
			  <dd>
				<table cellspacing="1">
				    <tr>
					  <td>
						<label style="width: 80px;">婚姻状况:</label><input name="peiou[state]" type="text" size="20" value="<?php echo ($data["spouse"]["state"]); ?>" />
						<label style="width: 80px;">姓名:</label><input name="peiou[name]" type="text" size="20" value="<?php echo ($data["spouse"]["name"]); ?>" />
						<label style="width: 80px;">学历:</label><input name="peiou[ecucation]" type="text" size="20" value="<?php echo ($data["spouse"]["ecucation"]); ?>" />
					  </td>
				    </tr>
				    <tr>
					  <td>
						<label style="width: 80px;">结婚纪念日:</label><input name="peiou[marryDay]" type="text" size="20" value="<?php echo ($data["spouse"]["marryDay"]); ?>" />
						<label style="width: 80px;">工作单位:</label><input name="peiou[unit]" type="text" size="20" value="<?php echo ($data["spouse"]["unit"]); ?>" />
						<label style="width: 80px;">联系方式:</label><input name="peiou[phone]" type="text" size="20" value="<?php echo ($data["spouse"]["phone"]); ?>" />

					  </td>
				    </tr>
				    <tr>
					  <td>
						<label style="width: 80px;">爱好:</label><input name="peiou[love]" type="text" size="20" value="<?php echo ($data["spouse"]["love"]); ?>" />
					  </td>
				    </tr>
				</table>
			  </dd>
		    </dl>
		    <dl class="nowrap">
			  <dt class="add_hiegth">父母情况：</dt>
			  <dd>
				<table>
				    <tr>
					  <td>
						<label style="width: 80px;">父亲姓名:</label><input name="parent[father_name]" type="text" size="20" value="<?php echo ($data["parents"]["father_name"]); ?>" />
						<label style="width: 80px;">出生日期:</label><input name="parent[father_birthday]" type="text" size="20" value="<?php echo ($data["parents"]["father_birthday"]); ?>" />
						<label style="width: 80px;">工作单位:</label><input name="parent[father_unit]" type="text" size="20" value="<?php echo ($data["parents"]["father_unit"]); ?>" />
					  </td>
				    </tr>
				    <tr>
					  <td>
						<label style="width: 80px;">联系方式:</label><input name="parent[father_phone]" type="text" size="20" value="<?php echo ($data["parents"]["father_phone"]); ?>" />

					  </td>
				    </tr>
				    <tr>
					  <td>
						<label style="width: 80px;">母亲姓名:</label><input name="parent[mother_name]" type="text" size="20" value="<?php echo ($data["parents"]["mother_name"]); ?>" />
						<label style="width: 80px;">出生日期:</label><input name="parent[mother_birthday]" type="text" size="20" value="<?php echo ($data["parents"]["mother_birthday"]); ?>" />
						<label style="width: 80px;">工作单位:</label><input name="parent[mother_unit]" type="text" size="20" value="<?php echo ($data["parents"]["mother_unit"]); ?>" />
					  </td>
					  <td>
						<label style="width: 80px;">联系方式:</label><input name="parent[mother_phone]" type="text" size="20" value="<?php echo ($data["parents"]["mother_phone"]); ?>" />
					  </td>
				    </tr>
				</table>
			  </dd>
		    </dl>
		    <dl class="nowrap">
			  <dt>子女情况：</dt>
			  <dd>
				<table>
				    <tr>
					  <td>
						<label style="width: 80px;">姓名:</label><input name="children[name]" type="text" size="20" value="<?php echo ($data["children"]["name"]); ?>" />
						<label style="width: 80px;">姓别:</label><input name="children[sex]" type="text" size="20" value="<?php echo ($data["children"]["sex"]); ?>" />
						<label style="width: 80px;">出生日期:</label><input name="children[birthday]" type="text" size="20" value="<?php echo ($data["children"]["birthday"]); ?>" />
					  </td>
				    </tr>
				    <tr>
					  <td>
						<label style="width: 80px;">教育情况:</label><input name="children[eduaction]" type="text" size="20" value="<?php echo ($data["children"]["eduaction"]); ?>" />
						<label style="width: 80px;">爱好:</label><input name="children[love]" type="text" size="20" value="<?php echo ($data["children"]["love"]); ?>" />

					  </td>
				    </tr>
				</table>
				<table>
				    <tr>
					  <td>
						<label style="width: 80px;">姓名:</label><input name="children[name2]" type="text" size="20" value="<?php echo ($data["children"]["name2"]); ?>" />
						<label style="width: 80px;">姓别:</label><input name="children[sex2]" type="text" size="20" value="<?php echo ($data["children"]["sex2"]); ?>" />
						<label style="width: 80px;">出生日期:</label><input name="children[birthday2]" type="text" size="20" value="<?php echo ($data["children"]["birthday2"]); ?>" />
					  </td>
				    </tr>
				    <tr>
					  <td>
						<label style="width: 80px;">教育情况:</label><input name="children[eduaction2]" type="text" size="20" value="<?php echo ($data["children"]["eduaction2"]); ?>" />
						<label style="width: 80px;">爱好:</label><input name="children[love2]" type="text" size="20" value="<?php echo ($data["children"]["love2"]); ?>" />

					  </td>
				    </tr>
				</table>
			  </dd>
		    </dl>
		    <p>
			  <label>是否大客户：</label>
			  <input name="is_big" type="text" size="30" value="<?php echo ($data["is_big"]); ?>" />
		    </p>
		    <p>
			  <label>短信祝福：</label>
			  <input name="message_benediction" type="text" size="30" value="<?php echo ($data["message_benediction"]); ?>" />
		    </p>
		    <p>
			  <label>特别注意：</label>
			  <input name="notice" type="text" size="30" value="<?php echo ($data["notice"]); ?>" />
		    </p>

		</div>
		<div class="formBar">
			<ul>
				<!--<li><a class="buttonActive" href="javascript:;"><span>保存</span></a></li>-->
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">保存</button></div></div></li>
				<li>
					<div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div>
				</li>
			</ul>
		</div>
	</form>
</div>